﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace site_operater
{
    class Program
    {
        static void Main(string[] args)
        {
            int i = 0;
            i = 2 << 1;
            Console.WriteLine("i左移一位后的值：{0}", i);
            i = 2 << 33;
            // 33=00100001  左移由低5位给出 即00001 即左移1位  结果为4
            Console.WriteLine("i的值：{0}", i);
            i = 2 >> 1;
            Console.WriteLine("i右移一位后的值：{0}", i);
            i = 1 >> 33;
            Console.WriteLine("i的值：{0}", i);
            Console.ReadLine();
        }
    }
}
